package com.example.webflux.webflux.service;

import com.example.webflux.webflux.pojo.Student;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

public interface StudentService {
    Mono<Student> queryById(Long id);
    Flux<Student> queryAll();
    Mono<Void> save(Mono<Student> studentMono);
}
